package com.jk.service.impl;


import java.util.List;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.ui.ModelMap;

import com.jk.mapper.RecruitDeliveryMapper;


import com.jk.pojo.RecruitDelivery;
import com.jk.pojo.Project;
import com.jk.pojo.Recruit;
import com.jk.service.RecruitDeliveryService;
import com.jk.service.impl.BaseServiceImpl;

@Service
@Transactional
public class RecruitDeliveryServiceImpl extends BaseServiceImpl<RecruitDelivery> implements RecruitDeliveryService {

	@Resource
	private RecruitDeliveryMapper recruitDelieveryMapper;

	@Override
	public List<Recruit> queryRecruitDelievery(HttpServletRequest request, ModelMap modelMap, Long userId) {
		return recruitDelieveryMapper.queryRecruitDelievery(userId);
	}

	@Transactional(readOnly=true)
	@Override
	public List<RecruitDelivery> findRecruitHistorylist(Long recruitId) {
		return recruitDelieveryMapper.findRecruitHistorylist(recruitId);
	}

}
